function info = inputInfo(input)
%INPUTINFO vrati informace o vstupu
%          input - cesta k souboru popisujicim vstup
%          info - matice Nx2, kde N je pocet vstupu a radek obsahuje
%                 cislo osoby a cislo fotky

fid = fopen(input, 'r');						
D = textscan(fid,'%s','delimiter','\n','whitespace','');
fclose(fid);
sinfo = D{1,1};
sinfo = sinfo(1:2:length(sinfo));
info = zeros(length(sinfo), 2);
for i = 1:length(sinfo)
   s = sinfo{i};
   js = strfind(s, 's');
   js = js(length(js));
   jl = strfind(s, '\');
   jl = jl(length(jl));
   jt = strfind(s, '.');
   jt = jt(length(jt));
   s1 = s((js+1):(jl-1));
   s2 = s((jl+1):(jt-1));
   info(i,1) = str2double(s1);
   info(i,2) = str2double(s2);   
end

end

